package com.smartao.core.config;

import java.util.HashMap;

public class ConfigHolder {

	private HashMap<String,String> properties;

	private static ConfigHolder configHolder = new ConfigHolder();

	private ConfigHolder() {
	}

	public static ConfigHolder getInstance() {
		return configHolder;
	}

	public void initProperties(HashMap<String,String> properties) {
		this.properties = properties;
	}

	public HashMap<String,String> getProperties() {
		return properties == null ? new HashMap<String,String>() : properties;
	}

}
